/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package vn.ugame.module;

import java.io.IOException;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 *
 * @author Namtp
 */
public interface Module {    
    ModuleConfig getConfig();
    void init(ModuleConfig config);
    void execute(HttpServletRequest request, HttpServletResponse response, ServletContext context) throws ServletException, IOException;
}
